Skip to content

[FF Shell] -l ListenHttp flag + nicer CLI entry message + simpler sample_simulation.ff #78

Merged
filippi merged 9 commits intodevfrom
sample-test
May 1, 2025
Merged

[FF Shell] -l ListenHttp flag + nicer CLI entry message + simpler sample_simulation.ff #78
filippi merged 9 commits intodevfrom
sample-test

Conversation

@antonio-leblanc
Copy link
Copy Markdown
Collaborator

1) -l ListenHttp[] flag

I would like to add the -l flag when want to easily enter the listenHttp mode. Will make tutorials and docker usage easier...
Example

(venv) lince@DESKTOP-HA1E64U:/mnt/c/gitrepos/firefront$ forefire -l

ForeFire HTTP command server listening at http://localhost:8000
To stop the server, press Ctrl-C or type quit in the ForeFire shell.
(Press Ctrl+C to exit)

2) Nicer print

(venv) lince@DESKTOP-HA1E64U:/mnt/c/gitrepos/firefront$ forefire

            ██████╗ ██████╗
            ██╔═══╝ ██╔═══╝
            ██████╗ ██████╗
            ██╔═══╝ ██╔═══╝
            ██║     ██║
            ╚═╝     ╚═╝

  =================================================
      ForeFire - Wildfire Propagation Simulator
  =================================================
  Version:   v2.1.81
  License:   See LICENSE file (ABSOLUTELY NO WARRANTY)
  Copyright (C) 2025 CNRS/Univ.Corsica

  Type 'help[]' for a list of commands.
  Use Tab for auto-completion.

forefire>

3) simple example

Created a simpler example for the docs then real_case.ff

@antonio-leblanc antonio-leblanc changed the base branch from master to dev May 1, 2025 04:39
@antonio-leblanc antonio-leblanc changed the title [FF Shell] -l flag for open directly ListenHttp + nicer CLI entry message + simpler sample_simulation for docs [FF Shell] -l ListenHttp flag + nicer CLI entry message + simpler sample_simulation.ff May 1, 2025
@filippi
Copy link
Copy Markdown
Contributor

filippi commented May 1, 2025

It is too cool, thanks AnTonio

@filippi filippi merged commit 8f5686f into dev May 1, 2025
2 checks passed
@antonio-leblanc antonio-leblanc deleted the sample-test branch May 2, 2025 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants